<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>emacps: xemacps_bd.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">emacps
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_14bc92f4b96c8519b376567118ac28b3.html">drivers</a></li><li class="navelem"><a class="el" href="dir_56905d513a9afcbca6d5fad0068e462c.html">emacps</a></li><li class="navelem"><a class="el" href="dir_e5baaf2fb2bbaeb1c3c4b83c659efcfc.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">xemacps_bd.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gad8eb9654444e15d80964b3b51f435fe6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#gad8eb9654444e15d80964b3b51f435fe6">XEmacPs_BdClear</a>(BdPtr)                                                                &#160;&#160;&#160;memset((BdPtr), 0, sizeof(XEmacPs_Bd))</td></tr>
<tr class="separator:gad8eb9654444e15d80964b3b51f435fe6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0d6c2077a466dd9c7cef4860f5be9b2f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga0d6c2077a466dd9c7cef4860f5be9b2f">XEmacPs_BdRead</a>(BaseAddress,  Offset)                      &#160;&#160;&#160;(*(u32 *)((UINTPTR)((void*)(BaseAddress)) + (u32)(Offset)))</td></tr>
<tr class="separator:ga0d6c2077a466dd9c7cef4860f5be9b2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga11441c1f6bac9df79d46c61a8f626101"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga11441c1f6bac9df79d46c61a8f626101">XEmacPs_BdWrite</a>(BaseAddress,  Offset,  Data)                        &#160;&#160;&#160;(*(u32 *)((UINTPTR)(void*)(BaseAddress) + (u32)(Offset)) = (u32)(Data))</td></tr>
<tr class="separator:ga11441c1f6bac9df79d46c61a8f626101"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab65a658f5f167dbe56de2e140ea80c76"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#gab65a658f5f167dbe56de2e140ea80c76">XEmacPs_BdSetAddressTx</a>(BdPtr,  Addr)                                            &#160;&#160;&#160;<a class="el" href="group__emacps__v3__1.html#ga11441c1f6bac9df79d46c61a8f626101">XEmacPs_BdWrite</a>((BdPtr), <a class="el" href="group__emacps__v3__1.html#ga387207ad526b13359b99bbe1d8b19b1f">XEMACPS_BD_ADDR_OFFSET</a>, (u32)(Addr))</td></tr>
<tr class="separator:gab65a658f5f167dbe56de2e140ea80c76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga89317c416734818b63bb26e6e47494c2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga89317c416734818b63bb26e6e47494c2">XEmacPs_BdSetAddressRx</a>(BdPtr,  Addr)                                            </td></tr>
<tr class="separator:ga89317c416734818b63bb26e6e47494c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad5b6f30c607ebcc41b02b67016345dde"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#gad5b6f30c607ebcc41b02b67016345dde">XEmacPs_BdSetStatus</a>(BdPtr,  Data)                                                  </td></tr>
<tr class="separator:gad5b6f30c607ebcc41b02b67016345dde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga71008663afa53dad9ef84088f3c3bab8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga71008663afa53dad9ef84088f3c3bab8">XEmacPs_BdGetStatus</a>(BdPtr)                                                              &#160;&#160;&#160;<a class="el" href="group__emacps__v3__1.html#ga0d6c2077a466dd9c7cef4860f5be9b2f">XEmacPs_BdRead</a>((BdPtr), <a class="el" href="group__emacps__v3__1.html#gaeacdb32989ed4c5df3af72c7b79bee75">XEMACPS_BD_STAT_OFFSET</a>)</td></tr>
<tr class="separator:ga71008663afa53dad9ef84088f3c3bab8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4209d4817b8dc79c82c11d128fabce84"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga4209d4817b8dc79c82c11d128fabce84">XEmacPs_BdGetBufAddr</a>(BdPtr)                                                          &#160;&#160;&#160;(<a class="el" href="group__emacps__v3__1.html#ga0d6c2077a466dd9c7cef4860f5be9b2f">XEmacPs_BdRead</a>((BdPtr), <a class="el" href="group__emacps__v3__1.html#ga387207ad526b13359b99bbe1d8b19b1f">XEMACPS_BD_ADDR_OFFSET</a>))</td></tr>
<tr class="separator:ga4209d4817b8dc79c82c11d128fabce84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga81abcd1f9e5ad64f6e1ac691c7c2a9d6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga81abcd1f9e5ad64f6e1ac691c7c2a9d6">XEmacPs_BdSetLength</a>(BdPtr,  LenBytes)                                          </td></tr>
<tr class="separator:ga81abcd1f9e5ad64f6e1ac691c7c2a9d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga81abcd1f9e5ad64f6e1ac691c7c2a9d6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga81abcd1f9e5ad64f6e1ac691c7c2a9d6">XEmacPs_BdSetLength</a>(BdPtr,  LenBytes)                                          </td></tr>
<tr class="separator:ga81abcd1f9e5ad64f6e1ac691c7c2a9d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga36eee72a1611d684d880d82d31ca00a5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga36eee72a1611d684d880d82d31ca00a5">XEmacPs_BdGetLength</a>(BdPtr)                                                              </td></tr>
<tr class="separator:ga36eee72a1611d684d880d82d31ca00a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9cf32be02ebb3e727b609ac18fa8daf7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga9cf32be02ebb3e727b609ac18fa8daf7">XEmacPs_GetRxFrameSize</a>(InstancePtr,  BdPtr)                                  </td></tr>
<tr class="separator:ga9cf32be02ebb3e727b609ac18fa8daf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1f03797f51437ec1f4a3f6d5bae88bef"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga1f03797f51437ec1f4a3f6d5bae88bef">XEmacPs_BdIsLast</a>(BdPtr)                                                                    </td></tr>
<tr class="separator:ga1f03797f51437ec1f4a3f6d5bae88bef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc19016405d5332eee1c9956cf9fd607"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#gafc19016405d5332eee1c9956cf9fd607">XEmacPs_BdSetLast</a>(BdPtr)                                                                  </td></tr>
<tr class="separator:gafc19016405d5332eee1c9956cf9fd607"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9e3913c6e83d5af6fb7732e349241718"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga9e3913c6e83d5af6fb7732e349241718">XEmacPs_BdClearLast</a>(BdPtr)                                                              </td></tr>
<tr class="separator:ga9e3913c6e83d5af6fb7732e349241718"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5af96b8f4fd0a3baa7388ac52120afb6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga5af96b8f4fd0a3baa7388ac52120afb6">XEmacPs_BdIsRxWrap</a>(BdPtr)                                                                </td></tr>
<tr class="separator:ga5af96b8f4fd0a3baa7388ac52120afb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8bf7f6c8d8ec6ecba0a544dc08835d49"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga8bf7f6c8d8ec6ecba0a544dc08835d49">XEmacPs_BdIsTxWrap</a>(BdPtr)                                                                </td></tr>
<tr class="separator:ga8bf7f6c8d8ec6ecba0a544dc08835d49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ede817ee6323f15c4a6aa0b97c821cd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga5ede817ee6323f15c4a6aa0b97c821cd">XEmacPs_BdIsRxNew</a>(BdPtr)                                                                  </td></tr>
<tr class="separator:ga5ede817ee6323f15c4a6aa0b97c821cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae8c3d4df31b155eddeafe638a6d6657a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#gae8c3d4df31b155eddeafe638a6d6657a">XEmacPs_BdSetTxUsed</a>(BdPtr)                                                              </td></tr>
<tr class="separator:gae8c3d4df31b155eddeafe638a6d6657a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac24b8ea852a99a7713cb245f06b1b14f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#gac24b8ea852a99a7713cb245f06b1b14f">XEmacPs_BdClearTxUsed</a>(BdPtr)                                                          </td></tr>
<tr class="separator:gac24b8ea852a99a7713cb245f06b1b14f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga53dfbf8fbc8b120c75f7c1c8bc68ce17"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga53dfbf8fbc8b120c75f7c1c8bc68ce17">XEmacPs_BdIsTxUsed</a>(BdPtr)                                                                </td></tr>
<tr class="separator:ga53dfbf8fbc8b120c75f7c1c8bc68ce17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4930d3d13001f42a2a496ed2818fccb4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga4930d3d13001f42a2a496ed2818fccb4">XEmacPs_BdIsTxRetry</a>(BdPtr)                                                              </td></tr>
<tr class="separator:ga4930d3d13001f42a2a496ed2818fccb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa01f2addd2d2ec01f85074afa73eb2dc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#gaa01f2addd2d2ec01f85074afa73eb2dc">XEmacPs_BdIsTxUrun</a>(BdPtr)                                                                </td></tr>
<tr class="separator:gaa01f2addd2d2ec01f85074afa73eb2dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8c58521599961cb0248b89403d7ecc0f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga8c58521599961cb0248b89403d7ecc0f">XEmacPs_BdIsTxExh</a>(BdPtr)                                                                  </td></tr>
<tr class="separator:ga8c58521599961cb0248b89403d7ecc0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaabed039b7fedb5807281f251d8b0c4c4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#gaabed039b7fedb5807281f251d8b0c4c4">XEmacPs_BdSetTxNoCRC</a>(BdPtr)                                                            </td></tr>
<tr class="separator:gaabed039b7fedb5807281f251d8b0c4c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab13d1d41abd8fcf8d43b28dd0f892b4b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#gab13d1d41abd8fcf8d43b28dd0f892b4b">XEmacPs_BdClearTxNoCRC</a>(BdPtr)                                                        </td></tr>
<tr class="separator:gab13d1d41abd8fcf8d43b28dd0f892b4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6cb132299cbbd8d3691fc8e835c05be8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga6cb132299cbbd8d3691fc8e835c05be8">XEmacPs_BdIsRxBcast</a>(BdPtr)                                                              </td></tr>
<tr class="separator:ga6cb132299cbbd8d3691fc8e835c05be8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga636c846e4a53e72d3372616ed69bbec7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga636c846e4a53e72d3372616ed69bbec7">XEmacPs_BdIsRxMultiHash</a>(BdPtr)                                                      </td></tr>
<tr class="separator:ga636c846e4a53e72d3372616ed69bbec7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga837730d6fcd3c9a91de764f6ba0ca0b8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga837730d6fcd3c9a91de764f6ba0ca0b8">XEmacPs_BdIsRxUniHash</a>(BdPtr)                                                          </td></tr>
<tr class="separator:ga837730d6fcd3c9a91de764f6ba0ca0b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae1cbbb55fed1a7910f6e2e695b3e1600"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#gae1cbbb55fed1a7910f6e2e695b3e1600">XEmacPs_BdIsRxVlan</a>(BdPtr)                                                                </td></tr>
<tr class="separator:gae1cbbb55fed1a7910f6e2e695b3e1600"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga703b0dac0e4974accabbbbba031d781f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga703b0dac0e4974accabbbbba031d781f">XEmacPs_BdIsRxPri</a>(BdPtr)                                                                  </td></tr>
<tr class="separator:ga703b0dac0e4974accabbbbba031d781f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga93e5dfddd5a68c0d5acf548400dd2ea2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga93e5dfddd5a68c0d5acf548400dd2ea2">XEmacPs_BdIsRxCFI</a>(BdPtr)                                                                  </td></tr>
<tr class="separator:ga93e5dfddd5a68c0d5acf548400dd2ea2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9d271b475b249a801eb968c90680dfbc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga9d271b475b249a801eb968c90680dfbc">XEmacPs_BdIsRxEOF</a>(BdPtr)                                                                  </td></tr>
<tr class="separator:ga9d271b475b249a801eb968c90680dfbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9781104302355859aed68bf8281091bc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__emacps__v3__1.html#ga9781104302355859aed68bf8281091bc">XEmacPs_BdIsRxSOF</a>(BdPtr)                                                                  </td></tr>
<tr class="separator:ga9781104302355859aed68bf8281091bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
